//
//  AvatarsView.h
//  Flava
//
//  Created by Ug-Code on 13-8-12.
//  Copyright (c) 2013年 UgCode. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>

@interface AvatarsView : UIView
{
	UIImageView *_avatarsImageView;
	UIImageView *_avatarsMaskView;
}

@property (strong, nonatomic) UIImageView *avatarsImageView;
@property (strong, nonatomic) UIImageView *avatarsMaskView;

/** 工厂方法创建原型用户头像, 头像直径37 */
+ (AvatarsView *)navRoundAvatarsView;
/** 工厂方法, 创建方形头像 */
+ (AvatarsView *)leftSquareAvatarsView;

@property (strong, nonatomic) UIImage *image;

- (id)init;

- (void)setMaskImage:(UIImage *)image;
- (void)setFrame:(CGRect)frame;
- (void)setMaskFrame:(CGRect)frame;

@end
